home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / capitem.z / capitem
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      CCCCAAAAPPPPIIIITTTTEEEEMMMM((((1111))))       KKKK----SSSSppppoooooooollll bbbbyyyy XXXXiiiinnnneeeetttt ((((9999////22229999////99994444 8888....2222))))        CCCCAAAAPPPPIIIITTTTEEEEMMMM((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           capitem - look up an item in a printcap entry
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ////uuuussssrrrr////eeeettttcccc////aaaapppppppplllleeeettttaaaallllkkkk////ccccaaaappppiiiitttteeeemmmm _p_r_i_n_t_e_r _i_t_e_m
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           The _c_a_p_i_t_e_m program reads an /etc/printcap entry for the
  16.           given _p_r_i_n_t_e_r and prints the value of the 2-letter _i_t_e_m on
  17.           its standard output, if the item has a value.  If _c_a_p_i_t_e_m
  18.           cannot find the given _p_r_i_n_t_e_r or _i_t_e_m in the printer's
  19.           entry, it will print an error message on standard error.
  20.  
  21.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  22.           If the _p_r_i_n_t_e_r and its _i_t_e_m are found in /etc/printcap, the
  23.           exit status is 0.  An exit status of 1 indicates that _i_t_e_m
  24.           was not in _p_r_i_n_t_e_r's printcap entry.  If _p_r_i_n_t_e_r is not
  25.           found in /etc/printcap, the exit status is 2.  Any other
  26.           problems will produce an exit status of 3.
  27.  
  28.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  29.           printcap(5)
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/5/98)
  64.  
  65.  
  66.  
  67.